From aa73db2addd9b9f6c23e490eebd5dd6d650a72c3 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 8 Jan 2010 11:44:58 +0000 Subject: [PATCH] libxenlight: don't free ifname, can lead to double free ifname is mostly handled directly in xl now, do not attempts to free this. Signed-off-by: Vincent Hanquez --- tools/libxl/xl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index 79d2f6cb88..996965bc22 100644 --- a/tools/libxl/xl.c +++ b/tools/libxl/xl.c @@ -888,9 +888,6 @@ start: } close(logfile); - for (i = 0; i < num_vifs; i++) { - free(vifs[i].ifname); - } free(disks); free(vifs); free(vfbs); -- 2.30.2